#ifndef LOG_H
#define LOG_H

#include "config.h"
#include "queue.h"


int init_log();
void set_stop();
void file_queue_push(void *data);
int file_log(Queue *q, enum debug_type type, char* filename, const char* format, ...);
int _log(enum debug_type type, char* filename, const char* format, ...);
void exit_log();

#endif